<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core">
 
<h:head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>
        <ui:insert name="title">
            MyImage.com
        </ui:insert>
    </title>

	<ui:insert name="css">
    </ui:insert>

	<ui:insert name="js">
    </ui:insert>
        
    <f:verbatim>
    	<link href="http://localhost:8080/linkedcompany-estaticos/estaticos/css/geral/bootstrap.min.css" rel="stylesheet" type="text/css" />
    	<link href="http://localhost:8080/linkedcompany-estaticos/estaticos/css/geral/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
    	<link href="http://localhost:8080/linkedcompany-estaticos/estaticos/css/geral/geral.css" rel="stylesheet" type="text/css" />
    	<script type="text/javascript" src="http://localhost:8080/linkedcompany-estaticos/estaticos/js/geral/bootstrap.min.js" />
		<script type="text/javascript" src="http://localhost:8080/linkedcompany-estaticos/estaticos/js/geral/jquery-1.11.2.min.js" />
    </f:verbatim>
    
    <script>
        $ = jQuery.noConflict();
        $(document).ready(function() {
            var heightWindow = $(window).height();
            var heightBody   = document.body.clientHeight;
            if(heightWindow > heightBody){
                $("#footer").css('position', 'fixed');
                $("#footer").css('bottom', '0');
            }                
        });
    </script>
     
</h:head>
<h:body>
    <div>
        <ui:insert name="nav_bar">
         
        </ui:insert>
    </div>
     
    <div class="container" >
        <ui:insert name="container">
         
        </ui:insert>
    </div>    
    <div id="footer" style="padding-top:30px; margin-top:90px; width:100%; background-color: #EEEEEE;" role="footer">
        <ui:insert name="nav_footer">
            <ui:include src="footer.xhtml" />
        </ui:insert>
    </div>    
</h:body>
</html>